/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const financeRouter = {
	path: '/finance',
	component: Layout,
	name: 'finance',
	meta: {
		title: '财务报表',
		icon: 'finance'
	},
	children: [{
			path: 'incomeSummary', //
			component: () => import('@/views/finance/incomeSummary'),
			name: '收入统计',
			meta: {
				title: '收入统计'
			}
		}, {
			path: 'statisticsCards', //
			component: () => import('@/views/finance/statisticsCards'),
			name: '售卡统计',
			hidden: true,
			meta: {
				title: '售卡统计',
				activeMenu: '/finance/incomeSummary'
			}
		}, {
			path: 'cardConsumptionSummary', //
			component: () => import('@/views/finance/cardConsumptionSummary'),
			name: '耗卡统计',
			meta: {
				title: '耗卡统计'
			}
		}, {
			path: 'statisticsCard', //
			component: () => import('@/views/finance/statisticsCard'),
			name: '上课耗卡统计',
			hidden: true,
			meta: {
				title: '上课耗卡统计',
				activeMenu: '/finance/cardConsumptionSummary'
			}
		}, {
			path: 'statisticsCardDetails', //
			component: () => import('@/views/finance/statisticsCardDetails'),
			name: '上课耗卡明细',
			hidden: true,
			meta: {
				title: '上课耗卡明细',
				activeMenu: '/finance/cardConsumptionSummary'
			}
		}, {
			path: 'debt',
			component: () => import('@/views/finance/debt'),
			name: '资产负债表',
			meta: {
				title: '资产负债表'
			}
		}, {
			path: 'statisticsCoach',
			component: () => import('@/views/finance/statisticsCoach'),
			name: '课时费统计',
			meta: {
				title: '课时费统计'
			}
		},
		{
			path: 'statisticsIncome',
			component: () => import('@/views/finance/statisticsIncome'),
			name: '收款统计',
			meta: {
				title: '收款统计'
			}
		},
		{
			path: 'statisticsIncomeForOrder',
			component: () => import('@/views/finance/statisticsIncomeForOrder'),
			name: '付费约课收款统计',
			hidden: true,
			meta: {
				title: '付费约课收款统计',
				activeMenu: '/finance/statisticsIncome'
			}
		}
	]
}
export default financeRouter